/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const VehicleRouter = {
  path: '/vehicle',
  component: Layout,
  redirect: 'noRedirect',
  name: 'Vehicle',
  meta: {
    title: '车辆管理',
    icon: 'chart'
  },
  children: [
    {
      path: 'VehicleManagement',
      component: () => import('@/views/Vehicle/VehicleManagement'),
      name: 'VehicleManagement',
      meta: { title: '车辆管理', noCache: true }
    },
    {
      path: 'VehicleList',
      component: () => import('@/views/Vehicle/VehicleList'),
      name: 'VehicleList',
      meta: { title: '车辆列表', noCache: true }
    },

    {
      path: 'VehicleRegister',
      component: () => import('@/views/Vehicle/VehicleRegister'),
      name: 'VehicleRegister',
      meta: { title: '回车登记', noCache: true }
    }
  ]
}

export default VehicleRouter
